package com.atguigu.gmall.seckill.config;

import com.atguigu.gmall.common.annotation.EnableAopAutoCache;
import com.atguigu.gmall.common.annotation.EnableAppRedissonAndCacheConfig;
import com.atguigu.gmall.common.annotation.EnableAutoThreadPool;
import com.atguigu.gmall.common.annotation.EnableGlobalException;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2024/10/18 4:45
 */
@EnableTransactionManagement
@EnableRabbit
@EnableGlobalException
@EnableScheduling
@EnableAutoThreadPool
@EnableAppRedissonAndCacheConfig
@EnableAopAutoCache
@MapperScan("com.atguigu.gmall.seckill.mapper")
@Configuration
@Component
public class SecKillConfig {
}
